package sanrenxing.Class.domain;

public class Classs {
    //班级编号
    private int classId;
    //班级名称
    private String className;
    //教员编号
    private int instructorId;
    //教师编号
    private int teacherId;
    //学生人数
    private int studentCount;
    //班主任姓名
    private String teacherName;


    /**
     * 无参构造
     */
    public Classs() {
    }
   /**
    * 有参构造
    */
    public Classs(int classId, String className, int instructorId, int teacherId, int studentCount) {
        this.classId = classId;
        this.className = className;
        this.instructorId = instructorId;
        this.teacherId = teacherId;
        this.studentCount = studentCount;
    }
   //自动生成的setting和getting
    public int getClassId() {
        return classId;
    }

    public void setClassId(int classId) {
        this.classId = classId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public int getInstructorId() {
        return instructorId;
    }

    public void setInstructorId(int instructorId) {
        this.instructorId = instructorId;
    }

    public int getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(int teacherId) {
        this.teacherId = teacherId;
    }

    public int getStudentCount() {
        return studentCount;
    }

    public void setStudentCount(int studentCount) {
        this.studentCount = studentCount;
    }
}
